Total Complexity | 41 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 214 |
Lines of code | 157 |
Logical lines of code | 78 |
Comment lines | 15 |
Methods | 12 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
product_images_ids() | 45 | 13 | 44 | |
sync_product_gallery() | 48 | 8 | 34 | |
is_duplication_enabled() | 58 | 3 | 17 | |
get_translated_thumbnail_id() | 59 | 3 | 14 | |
sync_thumbnail_id() | 67 | 3 | 8 | |
sync_variation_thumbnail_id() | 64 | 3 | 10 | |
sync_product_gallery_duplicate_attachment() | 63 | 3 | 10 | |
__construct() | 74 | 1 | 5 | |
add_hooks() | 78 | 1 | 3 | |
create_base_media_translation() | 70 | 1 | 6 | |
is_thumbnail_image_duplication_enabled() | 79 | 1 | 3 | |
is_media_duplication_enabled() | 79 | 1 | 3 |